<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML >
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'login.jsp' starting page</title>
</head>

<body>
	<div class="main_div">
		<div style="height: 200px"></div>
		<div class="login_div">
			<h1 style="text-align: center;">小型经销存系统</h1>
			<form action="user/userLogin" method="post">
				<div style="margin: auto;width: 200px;">
				<!-- name取值 @Param("pwd")String password 中的值-->
					<label>用户名</label><input type="text" name="username" /><br /> <br /> <label>密码</label><input type="password" name="password" /><br /> <br /> <input type="submit" value="   登   录   " />
				<div>${msg }</div>
				</div>
				
			</form>

		</div>
	</div>
</body>
</html>
